<?php
   $table = \Phpcmf\Service::M()->prefix.'attachment_data';

        if (\Phpcmf\Service::M()->db->fieldExists('cutinfo', $table)) {
            \Phpcmf\Service::M()->query('ALTER TABLE `'.$table.'` DROP `cutinfo`;');
        }

        \Phpcmf\Service::M('cache')->sync_cache('');